#include "globals.h"
#include "codeports.h"

const char *libraries[] =
{
	".libs/stars.so",
	".libs/starsback.so",
	".libs/starsback.so",
	".libs/stars.so",

	".libs/fire.so",
	".libs/plasma.so",
	".libs/plasma.so",
	".libs/fire.so",

	".libs/fire.so",
	".libs/plasma.so",
	".libs/plasma.so",
	".libs/fire.so",

	".libs/stars.so",
	".libs/starsback.so",
	".libs/starsback.so",
	".libs/stars.so",
};

PLUGIN plugins[16];

void
(*SCR_SetPixelRGB)(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
(*SCR_GetPixelRGB)(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
(*SCR_SetBoxRGB)(int x, int y, BOX *box);

void
(*SCR_SetBox)(int x, int y, BOX *box);

void
(*SWP_SetPixelRGB)(int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
(*SWP_GetPixelRGB)(int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

void
(*SWP_SetBoxRGB)(int x, int y, BOX *box);

void
(*SWP_SetBox)(int x, int y, BOX *box);

void
(*BOX_SetPixelRGB)(BOX *box, int x, int y, unsigned char r, unsigned char g, unsigned char b);

void
(*BOX_GetPixelRGB)(BOX *box, int x, int y, unsigned char *r, unsigned char *g, unsigned char *b);

